<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>我的空间</title>
  <jsp:include page="/public/header-meta.jsp"></jsp:include>
  </head>
  
  <body>
  <jsp:include page="/public/header.jsp"></jsp:include>
<div class="container">
<div class="row">
   <div class="col-xs-12 col-sm-6 col-md-8">
<div class="box">
<div class="cell">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr>
<td align="center" valign="top" width="73">
<img alt="large avatar" class="large_avatar" style="width:72px; height:72px;" src="${u.avatar }">
</td>
<td valign="top" width="10"></td>
<td align="left" valign="top" width="auto">
<c:if test="${user.uname!=null}">
<div class="pull-right">
<a href="user!follow?uid=${u.uid }" class="btn btn-info btn-sm" rel="nofollow" id="follow">加入特别关注</a>
<a href="javascript:void(0);" class="btn btn-info btn-sm" data-toggle="modal" data-target="#usermessage" onclick="usermessage('12','小五哥');">私信TA</a>
</div>
</c:if>
<h2 style="padding: 0px; margin: 0px; font-size: 22px; line-height: 22px;">
${u.uname }
</h2>
<div class="sep5"></div>
<div class="sep5"></div>
<span class="snow">
${u.uname }第
${u.uid }号会员, 加入于
<fmt:formatDate value="${u.uregDate }"
type="date" pattern="yyyy-MM-dd HH:mm" /><br/>最近一次登录时间：<fmt:formatDate value="${u.lastlogin}"
type="date" pattern="yyyy-MM-dd HH:mm" /></span>
<div class="sep10"></div>
<table border="0" cellpadding="2" cellspacing="0" width="100%">
<tbody><tr>
<td width="50%">
<span style="line-height: 16px;">
签名:
&nbsp;
</span>
</td>
</tr>
<tr>
<td width="50%">
<span style="line-height: 16px;">
个人主页
&nbsp;
<a href="" class="startbbs" rel="nofollow external" target="_blank">aa</a>
</span>
</td>
</tr>
<tr>
<td width="50%">
<span style="line-height: 16px;">
所在地:
&nbsp;
<a href="" class="startbbs" rel="nofollow external" target="_blank"></a>
</span>
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
</div>
<div class="inner"><p>联系方式: <a href="mailto:" class="external mail">${u.uemail}</a></p></div>
</div>
<div class="box">
<div class="box-header">
最近创建的话题
</div>
<s:iterator value="list2"> 
<div class="admin cell topic">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr>
<td valign="middle" width="auto">
<span class="bigger">
<a href="reply!view?topic.tid=${tid }" class="startbbs topic">${ttopic}</a>
</span>
<div class="topic-meta">
<a href="bankuai?section.Sid=${sid}" class="node">${sname }</a>
&nbsp;&nbsp;•&nbsp;&nbsp;
<fmt:formatDate value="${ttime }"
type="date" pattern="yyyy-MM-dd HH:mm" />&nbsp;&nbsp;•&nbsp;&nbsp;
最后回复来自
<a href="" class="startbbs profile_link" title="marschris">十月方舟</a>
</div>
</td>
<td align="right" valign="middle" width="40">
<div class="badge badge-info">${tclickcount }</div>
</td>
</tr>
</tbody></table>
</div>
</s:iterator>
</div>

<div class="box">
	<div class="box-header">${uname }最近的回复</div>
	<s:iterator value="reply">
	<div class="cell comment_header text-muted">
		<div class="pull-right timeago">
	<fmt:formatDate value="${rtime }"
type="date" pattern="MM-dd HH:mm" /></div>回复了
		<a href="http://www.startbbs.com/user/info/3347" class="startbbs profile_link" title="${uname }">${bbsusers.uname }</a>
		<fmt:formatDate value="${bbstopic.ttime }" type="date" pattern="MM-dd HH:mm" /><span class="chevron"></span>
<a href="reply!view?topic.tid=${bbstopic.tid }" class="startbbs">${bbstopic.ttopic}</a>
</div>
<div class="inner">
<div class="reply_content">
${rcontent }</div>
</div>
<div class="sep5"></div>
</s:iterator>
</div>

</div>

<div class="col-xs-12 col-sm-6 col-md-4" id="Rightbar">
<jsp:include page="/public/right_login.jsp"></jsp:include>
 </div>
 </div>
 </div>
 <jsp:include page="/public/footer.jsp"></jsp:include>
  </body>

</html>
